set visible of BACKGROUND button "Introduction" to False
set visible of BACKGROUND button "Create Program" to False
set visible of BACKGROUND button "Index" to true
end opencard
on CloseCard
set the lockScreen to true
set visible of Field Documentation to true
set visible of Field Source to true
set visible of BACKGROUND button "Introduction" to true
set visible of BACKGROUND button "Create Program" to true
end CloseCard
-- part 2 (field)
-- low flags: 01
-- high flags: 0007
-- rect: left=6 top=90 right=312 bottom=502
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 3 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=72 top=316 right=338 bottom=185
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Print Order Form
----- HyperTalk script -----
on mouseUp
go to card id 10729
end mouseUp
-- part 6 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=381 top=41 right=57 bottom=403
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: dodft
----- HyperTalk script -----
on mouseUp
go to card id 9785
end mouseUp
-- part contents for card part 2
----- text -----
This stack is the latest evolution in the MacMathPascal package. Within this stack is a collection of source listings for Pascal programs. These programs contain procedures and functions to solve many of the types of problems which the engineer, scientist, or student faces daily. There are procedures to perform numeric calculus, curve fitting, interpolation,
plotting (the plots on the introduction cards were done with some of the routines), Fourier transforms, special functions, and solutions to equations.
As an added bonus, there is a card in this stack which performs a Discrete Fourier Transform (DFT). To get to this card hit the Mac Icon on the screen.
The programs are examples. You can cut and paste the procedures from the source listings to include in custom programs. This can save you several hours writing your own routines to perform daily tasks.
By a click of a button you can write the source for these progams to disk. They are ready to compile and run with LightSpeed Pascal. The documentaion for the programs is included in this stack. This documention will explain what the routine does and how to use it. There are also many references for the theory of operation of the routines given in the documentation.
As always, there is a catch. A return is expected for the hours spent putting these routines together. This stack is SHARE WARE! The return expected is a check for $25.
As an incentive to have you send me money, a few things have been done. First, the documentaion can not be printed. If you want a copy, send in the money and you will be sent a printed and bound copy of the documentation and a disk with the latest version of this stack.
Second, if you are a registered owner of this stack and you give the stack to someone and they become registered you will be sent $5.
To date, no one has ever been sued for using the routines in this stack without paying for them, but the author once graded the schoolarship paper of a person who used the routines without paying.
You can print an order form using the button below.
The MACMATPASCAL stack has been "PASSWORD PROTECTED" but that is not a guarantee. Neither Coherent Cognition nor Apple nor its software suppliers make any warranty or representation, either expressed or implied, with respect to the software in this stack, its quality, performance, merchantability or fitness for any particular purpose. This software is sold "as is"; the purchaser assumes the entire risk as to it's quality and performance.
In no event will Coherent Cognition or Apple or its software suppliers be liable for direct, indirect, special, incidental, or consequential damages resulting from any defect in the software in this stack, even if they have been advised of the possibility of such damages. In particular, they shall have no liability for any programs or data stored in or used with this stack.
The warranty and remedies set forth above are exclusive and in lieu of all others, oral or written, expressed or implied. No Coherent Cognition agent, dealer, author, or employee is authorized to make any modification, extension, or addition to this warranty.
Some states do not allow the exclusion or limitation of implied warranties or liability for incidental or consequential damages, so the above limitation or exclusion may not apply. This warranty gives you specific legal rights, and you may also have other rights that vary from state to state.
LightSpeed Pascal has double and extended precision variables. A Pascal procedure which uses a large number or floating point numbers will run quicker if all of the variables are extended precision. For examble, with 3600 points the FFT routine in this package will run 20% faster using extended percision. The reason for this is simple. All math is done in extended precision independent of the type of variables being used in the calculation. If Real or Double floating point numbers are used, the CPU must convert the numbers to extended precision, perform the math, and then convert back to the Real or Double precision numbers. The disadvantage of extended precision numbers is a use of memory. They each occupy 10 bytes. If your application can spare the space, it is a good idea to use the extended precision numbers.
LightSpeed Pascal supports both a 2 and 4 byte integer. Most of the time these can be used interchangeably.
To make the conversion from various precision easy, the routines in this package use the following type declarations.
TYPE
FLOAT = EXTENDED or DOUBLE or REAL;
FIXXED = INTEGER or LONGINT;
DATA = ARRAY[1..MAXSIZE] of FLOAT;
SQUARE = ARRAY[1..MAXSIZE,1..MAXSIZE] of FLOAT;
DATA and SQUARE are the single and two dimensional arrays used in the routines. FLOAT is of the type EXTENDED, DOUBLE or REAL. One or more of these Type declarations must be part of any program which uses the routines of this package.
A word about size. The maximum amount of data that can be referenced in one VAR statement or program segment in LightSpeed Pascal is 32K bytes. This applies to version 1.1 of the compiler and this limit may be lifted in later versions.
LightSpeedΓäó Pascal is a trademark of Symantec. LightSpeedΓäó Pascal is also a great working environment.